﻿var noExpiriance;

$(function () {
    noExpiriance = NoExpiriance();
    noExpiriance.initialize();
});

function NoExpiriance() {

    this.CHECK = "#noexperience";
    this.EXP = '#Expiriance';

    var _instance = new Object();
    var _this = this;

    this.checkClik = function (event) {

        if ($('#noexperience').is(':checked')) {
            $('#Expiriance').hide(1000);
        }
        else {
            $('#Expiriance').show(1000);
        }


    };

    _instance.initialize = function () {
        $(_this.CHECK).click(_this.checkClik);
    };

    return _instance;
}